package com.onlygx.dva.common.entity.utils;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
* 邮箱消息参数
*/
@Data
public class EmailParam {

    public EmailParam(String subject, String toAddress, String textBody){
        this.subject = subject;
        this.toAddress = toAddress;
        this.textBody = textBody;
    }

    @ApiModelProperty("主题")
    String subject;

    @ApiModelProperty("发送地址")
    String toAddress;

    @ApiModelProperty("消息体")
    String textBody;

}
